package com.example.administrator.baseadapter.recyclerview.image;

import android.app.Activity;
import android.support.annotation.DrawableRes;
import android.widget.ImageView;

import java.io.Serializable;

/**
 * ImageLoader抽象类，外部需要实现这个类去加载图片， 尽力减少对第三方库的依赖，所以这么干了
 * Created by baron
 * Date : 2016/6/1 0001 10:51
 * Email: 5267621@qq.com
 */
public interface ImageLoader extends Serializable {

    void displayImage(Activity activity, String path, ImageView imageView, @DrawableRes int shouldDrawable);

    void clearMemoryCache();
}
